import Vue from 'vue'
import Router from 'vue-router'
import nurseStation from '../components/nurseStation/index'
import childindex from '../components/childindex/index'
import ManageSuccession from '../components/ManageSuccession/ManageSuccession'
import WorkforceManage from '../components/workforceManage/workforceManage'
import PatientList from '../components/PatientList/PatientList'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'nurseStation',
      component: nurseStation
    },
    {
      path: '/childindex',
      name: 'childindex',
      component: childindex
    },
    {
      path: '/ManageSuccession',
      name: 'Succession',
      component: ManageSuccession
    },
    {
      path: '/WorkforceManage',
      name: 'workforce',
      component: WorkforceManage
    },
    {
      path: '/PatientList',
      name: 'PatientList',
      component: PatientList
    }
  ]
})
